#{extends 'main.html' /}
#{include 'tags/scripts.html'/}
#{set title:'Register' /}
<h1>LOOL Here we go</h1>

#{jqv.vform @Application.addUser(), edit:u}
<table cellpadding="2">
<tr><th>Register</th></tr>
<tr>
	<td><label for="UserfirstName">First Name</label>
	<td>#{jqv.text for:'User.firstName' /}</td>
</tr>
<tr>
	<td><label for="UserlastName">Last Name</label>
	<td>#{jqv.text for:'User.lastName'/}</td>
</tr>
<tr>
	<td><label for="Userpassword">Password</label></td>
	<td>#{jqv.pass for:'User.password'/}</td>
</tr>
<tr>
	<td><label for="gender">Gender</label></td>
	<td><input type="checkbox" name='gender' id="gender"></td>
</tr>
<tr>
	<td><label for="Useraddress">Address</label></td>
	<td>#{jqv.textarea for:'User.address'/}</td>
</tr>
<tr>
	<td><label for="UserDateOfBirth">Birth Date</label></td>
	<td>#{jqv.date for:'User.dateOfBirth'/}</td>
</tr>
<tr>
	<td><label for="UserphoneNum">Phone no</label></td>
	<td>#{jqv.text for:'User.phoneNum'/}</td>
</tr>
<tr>
	<td><label for="Useremail">Email</label></td>
	<td>#{jqv.text for:'User.email'/}</td>
</tr>
<tr>
	<td><label for="acceptAll">Accept all terms</label></td>
	 <td>#{jqv.checkbox required:' ', id:'aceeptAll', checked:' '/}</td>
</tr>
<tr><td><input type="submit" value="LOLL"></td></tr>
</table>
#{/jqv.vform}

<br/>
<br/>